package com.zbxx.domain;


import java.util.Date;

/**
 * @Description: 秒杀的实体类（主要是业务）
 * @Author: zt
 * @CreateDate: 2018/11/1 0001 13:27
 * @UpdateUser: zt
 * @UpdateDate: 2018/11/1 0001 13:27
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */

public class Seckill {
    /*商品库存Id*/
    private long id;
    /*商品名称*/
    private String name;
    /*库存数量*/
    private int number;
    /*秒杀开启时间*/
    private Date startTime;
    /*秒杀结束时间*/
    private Date endTime;
    /*创建时间*/
    private Date createTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
